package com.open.capacity.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 作者 ftquan E-mail: 464725602@qq.com
 * @version 创建时间：2017年11月12日 上午22:57:51
 *  岗位
 */
@Data
public class SysPost implements Serializable {
	
	private static final long serialVersionUID = 4497149010220586111L;
	@JsonSerialize(using=ToStringSerializer.class)
	private String id;
	private String parentId;
	private String companyId;
	private String departmentId;

	@TableField(exist = false)
	private String departmentName;

	private String code;
	private String name;
	private String description;
	private Integer sort;
	private Integer status;
	private Date createTime;
	private Date updateTime;
}
